package Ch9;

import java.util.*;

public class ConstUI {

	public static void main(String[] args) {
		ConstEx ex = new ConstEx();
		int w = 100;
		int h = 50;
		System.out.println(ex.getArea(ConstEx.RECTANGLE, w,h));
		System.out.println(ex.getArea(ConstEx.TRIANGLE, w, h));
	}
}
